VT-d: remove useless variables
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 5 Jun 2009 08:26:39 +0000 (09:26 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 5 Jun 2009 08:26:39 +0000 (09:26 +0100)
commitab6167c090dc2072672db582cff00685d58817dc
treeaad989b1905ed2a1f41287da8467047a7f894be9
parent840f3824a7ff22e0093a46008e36fe464131ab6c
VT-d: remove useless variables

This patch removes global variable "vtd_enabled", which is
redundant. "iommu_enabled" is enough. And also removes useless global
variables qi_ctrl and ir_ctrl, which are not used at all.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/arch/x86/msi.c
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/utils.c
xen/drivers/passthrough/vtd/x86/vtd.c
xen/include/xen/iommu.h